package com.hhq.common.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * <p>Description: 分页Vo </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/1/5 15:58
 */
@ApiModel(value = "分页", description = "")
@Setter
@Getter
public class PageVO<T> {
    /**
     * 分页数据
     */
    @ApiModelProperty("分页数据")
    private List<T> data;
    /**
     * 数据总数
     */
    @ApiModelProperty("数据总数")
    private long total;
    /**
     * 分页大小
     */
    @ApiModelProperty(value = "分页大小", example = "10")
    private long size;
    /**
     * 当前页码
     */
    @ApiModelProperty(value = "当前页码", example = "1")
    private long current;

}
